package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.TreatmentProjectCommentsTask.TreatmentProjectCommentsRequest;
import com.smiier.skin.net.TreatmentProjectCommentsTask.TreatmentProjectCommentsResponse;
import com.smiier.skin.util.GlobalSettings;

/*
 * 治疗项目医生评价
 * */
public class TreatmentProjectCommentsTask
		extends
		NetTask<TreatmentProjectCommentsRequest, TreatmentProjectCommentsResponse> {
	public static class TreatmentProjectCommentsRequest extends ORequest {

		/*
		 * 用户编号[userid] 治疗项目编号[treatmentprojectid] 评论内容[comments]
		 * 是否好评[commentslevel]
		 */
		public String userid;
		public String treatmentprojectid;
		public String comments;
		public String commentslevel;

	}

	public static class TreatmentProjectCommentsResponse extends OResponse {

	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/TreatmentProject/projectComments";
		mRequestMethod = METHOD_POST;
	}

}
